package com.bys.admin.system.controller.vo;



import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@Schema(name = "角色菜单保存视图", description = "")
public class SaveRoleMenuVo {
    @NotNull(message = "角色不能为空")
    @Schema(description = "角色id")
    private Long roleId;
    @NotEmpty(message = "菜单不能为空")
    @Schema(description = "菜单id集合")
    private List<Long> menuIds;
}
